// 文件上传属性
import {  SET_UPLOAD_ATTRIBUTE } from '../constant';

// 默认列表展示
const intiValue = {};

export default function fileUploadAttribute (prev = intiValue, action) {
  const {
    type,
    data
  } = action;
  switch (type) {
  case SET_UPLOAD_ATTRIBUTE:
    return data;
  default:
    return prev
  }
}
